home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
test
/
lib
/
printf.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-23
|
147b
|
12 lines
main(ac, av)
char *av[];
{
if (ac != 3) {
puts("printf string fieldwidth");
exit(1);
}
printf("--%.*s--\n", atoi(av[2]), av[1]);
}